# -*- coding:utf-8 -*-
# @Time: 2020/8/14 10:47
# @Author: liupengfei
# @File: urls.py

from django.urls import path
from rest_framework.routers import SimpleRouter
from .views import DiaryViewSet, DictView

app_name = 'diary'
urlpatterns = [
    path('dict/', DictView.as_view())
]
router = SimpleRouter()
router.register('', DiaryViewSet)
urlpatterns += router.urls
